package com.fjw.service.impl;

import com.fjw.dao.PermsMapper;
import com.fjw.service.PermsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class PermsServiceImpl implements PermsService {

    @Autowired
    private PermsMapper permsMapper;


    @Override
    public Set<String> findAllPerms(String username) {
        return permsMapper.findPermsByUsername(username);
    }
}
